package cn.getech.data.metadata.service;
import cn.getech.data.metadata.entity.CollectionNotificationReceived;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface CollectionNotificationReceivedService extends IService<CollectionNotificationReceived> {

  List<CollectionNotificationReceived> queryByUserOremail(String userEmail);

  List<CollectionNotificationReceived> queryByNotificationUserId(Long notificationUserId);

  //批量查询
  List<CollectionNotificationReceived> queryByNotificationUserIdS(List<Long> notificationUserId);

  void delByNotificationUserId(Long notificationUserId);

  void bathSaveCollectionNotificationReceived(List<CollectionNotificationReceived> collectionNotificationReceived);

  void bathUpdateCollectionNotificationReceived(List<CollectionNotificationReceived> collectionNotificationReceived, Long id);
}
